/*
============================================================================
Name        : CVersificatorDocument from VersificatorDocument.h
Author      : 
Version     :
Copyright   : Your copyright notice
Description : CVersificatorDocument implementation
============================================================================
*/

// INCLUDE FILES
#include "VersificatorDocument.h"
#include "VersificatorAppui.h"

// ================= MEMBER FUNCTIONS =======================

// constructor
CVersificatorDocument::CVersificatorDocument(CEikApplication& aApp)
: CAknDocument(aApp)    
{
}

// destructor
CVersificatorDocument::~CVersificatorDocument()
{
}

// EPOC default constructor can leave.
void CVersificatorDocument::ConstructL()
{
}

// Two-phased constructor.
CVersificatorDocument* CVersificatorDocument::NewL(
	CEikApplication& aApp)     // CVersificatorApp reference
{
	CVersificatorDocument* self = new (ELeave) CVersificatorDocument( aApp );
	CleanupStack::PushL( self );
	self->ConstructL();
	CleanupStack::Pop();

	return self;
}

// ----------------------------------------------------
// CVersificatorDocument::CreateAppUiL()
// constructs CVersificatorAppUi
// ----------------------------------------------------
//
CEikAppUi* CVersificatorDocument::CreateAppUiL()
{
	return new (ELeave) CVersificatorAppUi;
}


